package com.heima.apis;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Service;

@Api(value = "频道管理", tags = "channel", description = "频道管理Api")
public interface AdChannelControllerApi {
    @ApiOperation("频道分页列表查询")
    public ResponseResult findByNameAndPage(ChannelDto dto);

    public ResponseResult insertAdChannel(AdChannel channel);

    public ResponseResult updateAdChannel(AdChannel channel);

    public ResponseResult deleteAdChannel(Integer id);
}
